﻿#ifndef QEXCELDRIVER_H
#define QEXCELDRIVER_H

#include <QObject>
#include <QAxObject>

class QExcelDriver : public QAxObject
{
    Q_OBJECT
public:
    explicit QExcelDriver(QObject *parent = nullptr);
    ~QExcelDriver();

    static QExcelDriver* instance();

    QAxObject* openWorkbook(QString filePath);
    QAxObject* addWorkbook();

private:
     QAxObject* m_excelWorkbooks;
};

#endif // QEXCELDRIVER_H
